projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d825909
)
babl-cache: attempt to make things barely compile on win32
author
Øyvind Kolås
<pippin@gimp.org>
Tue, 15 Nov 2016 22:51:44 +0000
(23:51 +0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Tue, 15 Nov 2016 22:51:44 +0000
(23:51 +0100)
babl/babl-cache.c
patch
|
blob
|
history
diff --git
a/babl/babl-cache.c
b/babl/babl-cache.c
index 35ae2602d1710ff92fc555f900fad2c3cb39403a..7f0699755668906fd7d8fb767dfd7912fb94e251 100644
(file)
--- a/
babl/babl-cache.c
+++ b/
babl/babl-cache.c
@@
-24,6
+24,10
@@
static const char *fish_cache_path (void)
{
+#ifdef _WIN32 // XXX: fixme - make this work - and be a reasonable location
+ // on windows
+ return "C:\\babl.txt";
+#else
// FIXME: need a location for this temporary file on win32
struct stat stat_buf;
static char resolved[4096];
@@
-51,6
+55,7
@@
static const char *fish_cache_path (void)
free (ret);
return resolved;
+#endif
}
static char *